class num1{
  move(){
    console.log('hello');
  }
}
class num2 extends num1{
  update(){
    console.log('world');
    
  }
}
new num2()